<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:a="http://richfaces.org/a4j"
      xmlns:r="http://richfaces.org/rich"
      xmlns:m="http://www.caradvert.com/main">

    <ui:composition template="/content/templates/mainTemplate.xhtml">
        <ui:param name="selectedMenu" value="newAdvert"/>
        <ui:define name="title">#{labels['NEW_ADVERT']}</ui:define>
        <ui:define name="body">
            <ui:decorate template="/content/templates/contentDecorator.xhtml">

                <h:panelGroup layout="block" id="chooseAdvertPanel">
                    <ul>
                        <li>
                            <h:outputLink value="#{ctxPath}/content/pages/sell/addAdvert.xhtml" style="background-color:navy;border-color:black;">
                                #{labels['WANT_TO_SELL']}
                            </h:outputLink>
                        </li>
                        <li>
                            <h:outputLink value="#{ctxPath}/content/pages/buy/addAdvert.xhtml" style="background-color:forestgreen;border-color:black;">
                                #{labels['WANT_TO_BUY']}
                            </h:outputLink>
                        </li>
                    </ul>
                </h:panelGroup>

            </ui:decorate>
        </ui:define>
    </ui:composition>
</html>